package com.group.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.group.commons.entity.Product;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductDao extends BaseMapper<Product> {
    List<Product> selectAllProduct(IPage<Product> page, @Param("categoryId")int id,@Param("product")Product product);
}
